<?php
class Category extends AppModel {
	var $name = 'Category';
	var $displayField = 'name';
	var $hasMany = array(
		'Post' => array(
			'className' => 'Post',
			'foreignKey' => 'category_id',
			'dependent' => false,
		)
	);
}
?>